// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten.
 * You can (and have to!) safely modify it by hand.
 */
package com.jrsystems.fleet.vehicle;
/**
 * @see com.jrsystems.fleet.vehicle.FuelType
 */
public class FuelTypeDaoImpl
    extends com.jrsystems.fleet.vehicle.FuelTypeDaoBase
{
    /**
     * @see com.jrsystems.fleet.vehicle.FuelTypeDao#toFuelTypeVO(com.jrsystems.fleet.vehicle.FuelType, com.jrsystems.fleet.vehicle.vo.FuelTypeVO)
     */
    public void toFuelTypeVO(
        com.jrsystems.fleet.vehicle.FuelType source,
        com.jrsystems.fleet.vehicle.vo.FuelTypeVO target)
    {
        // @todo verify behavior of toFuelTypeVO
        super.toFuelTypeVO(source, target);
    }


    /**
     * @see com.jrsystems.fleet.vehicle.FuelTypeDao#toFuelTypeVO(com.jrsystems.fleet.vehicle.FuelType)
     */
    public com.jrsystems.fleet.vehicle.vo.FuelTypeVO toFuelTypeVO(final com.jrsystems.fleet.vehicle.FuelType entity)
    {
        // @todo verify behavior of toFuelTypeVO
        return super.toFuelTypeVO(entity);
    }


    /**
     * Retrieves the entity object that is associated with the specified value object
     * from the object store. If no such entity object exists in the object store,
     * a new, blank entity is created
     */
    private com.jrsystems.fleet.vehicle.FuelType loadFuelTypeFromFuelTypeVO(com.jrsystems.fleet.vehicle.vo.FuelTypeVO fuelTypeVO)
    {
        // @todo implement loadFuelTypeFromFuelTypeVO
        throw new java.lang.UnsupportedOperationException("com.jrsystems.fleet.vehicle.loadFuelTypeFromFuelTypeVO(com.jrsystems.fleet.vehicle.vo.FuelTypeVO) not yet implemented.");

        /* A typical implementation looks like this:
        com.jrsystems.fleet.vehicle.FuelType fuelType = this.load(fuelTypeVO.getId());
        if (fuelType == null)
        {
            fuelType = com.jrsystems.fleet.vehicle.FuelType.Factory.newInstance();
        }
        return fuelType;
        */
    }

    
    /**
     * @see com.jrsystems.fleet.vehicle.FuelTypeDao#fuelTypeVOToEntity(com.jrsystems.fleet.vehicle.vo.FuelTypeVO)
     */
    public com.jrsystems.fleet.vehicle.FuelType fuelTypeVOToEntity(com.jrsystems.fleet.vehicle.vo.FuelTypeVO fuelTypeVO)
    {
        // @todo verify behavior of fuelTypeVOToEntity
        com.jrsystems.fleet.vehicle.FuelType entity = this.loadFuelTypeFromFuelTypeVO(fuelTypeVO);
        this.fuelTypeVOToEntity(fuelTypeVO, entity, true);
        return entity;
    }


    /**
     * @see com.jrsystems.fleet.vehicle.FuelTypeDao#fuelTypeVOToEntity(com.jrsystems.fleet.vehicle.vo.FuelTypeVO, com.jrsystems.fleet.vehicle.FuelType)
     */
    public void fuelTypeVOToEntity(
        com.jrsystems.fleet.vehicle.vo.FuelTypeVO source,
        com.jrsystems.fleet.vehicle.FuelType target,
        boolean copyIfNull)
    {
        // @todo verify behavior of fuelTypeVOToEntity
        super.fuelTypeVOToEntity(source, target, copyIfNull);
    }

}